Repeated & Mixed
University of Amsterdam
14 October 2026
In this lecture we aim to:
Reading: Chapter 14 (§14.1–14.18)
The one-way repeated measures ANOVA analyses the variance of the model while reducing the error by the within person variance.
| Variance | Sum of Squares | df | Mean Squares | F-ratio |
|---|---|---|---|---|
| Between | \({SS}_{{between}} = {SS}_{{total}} - {SS}_{{within}}\) | \({df}_{{total}}-{df}_{{within}}\) | \(\frac{{SS}_{{between}}}{{df}_{{between}}}\) | |
| Within | \({SS}_{{within}} = \sum{s_i^2(n_i-1)}\) | \((n_i-1)n\) | \(\frac{{SS}_{{within}}}{{df}_{{within}}}\) | |
| • Model | \({SS}_{{model}} = \sum{n_k(\bar{X}_k-\bar{X})^2}\) | \(k-1\) | \(\frac{{SS}_{{model}}}{{df}_{{model}}}\) | \(\frac{{MS}_{{model}}}{{MS}_{{residual}}}\) |
| • Residual | \({SS}_{{residual}} = {SS}_{{within}} - {SS}_{{model}}\) | \((n-1)(k-1)\) | \(\frac{{SS}_{{residual}}}{{df}_{{residual}}}\) | |
| Total | \({SS}_{{total}} = s_{grand}^2(N-1)\) | \(N-1\) | \(\frac{{SS}_{{total}}}{{df}_{{total}}}\) |
Where \(n_i\) is the number of observations per person and \(k\) is the number of conditions. These two are equal for a one-way repeated ANOVA. Furthermore \(n\) is the number of subjects per condition and \(N\) is the total number of data points \(n \times k\).
Measure driving ability in a driving simulator. Test in three consecutive conditions where participants come back to attend the next condition.
How much of the within subject variance can we explain by looking at alcohol condition?
\({SS}_{{within}} = \sum{s_i^2(n_i-1)}\)
[1] 11.54771
\({SS}_{model} = \sum{n_k(\bar{X}_k-\bar{X})^2}\)
[1] 9.543261
\(F = \frac{{MS}_{{model}}}{{MS}_{{residual}}}\)
Planned comparisons
Unplanned comparisons
The factorial repeated measures ANOVA analyses the variance of the model while reducing the error by the within person variance.
Same as one-way repeated measures ANOVA
In this example we will again look at the amount of accidents in a car driving simulator while subjects were given varying doses of speed and alcohol. But this time we let participants partake in all conditions. Every week subjects returned for a different experimental condition.
Every participant is measured in every cell of the design
| person | 1_1 | 1_2 | 1_3 | 2_1 | 2_2 | 2_3 | 3_1 | 3_2 | 3_3 |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| 2 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| 3 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| ⋮ | ⋮ | ⋮ | ⋮ | ⋮ | ⋮ | ⋮ | ⋮ | ⋮ | ⋮ |
| 20 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Alcohol / speed | none | some | much |
|---|---|---|---|
| none | 20 | 20 | 20 |
| some | 20 | 20 | 20 |
| much | 20 | 20 | 20 |
The mixed ANOVA analyses the variance of the model while reducing the error by the within person variance.
Same as repeated measures ANOVA and same as factorial ANOVA.
Perham & Sykora (2012): Are splattered cadavers distracting?
Is recall affected by the sound played while learning letter sequences?
quiet_pos1 to disliked_pos8: probability of correctly recalling a letter
Scientific & Statistical Reasoning